package com.j283_5.wisdom_park.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.j283_5.wisdom_park.pojo.Alarules;
import com.j283_5.wisdom_park.vo.confcenter_management.AlarulesVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
@Mapper
public interface AlarulesMapper extends BaseMapper<Alarules> {

    /**
     * 查询总条数
     * @param map
     * @return
     */
    Integer countAlarules(@Param("map")Map map);

    /**
     * 多条件查询
     * @param map
     * @return
     */
    List<AlarulesVo> selectAlarules(@Param("map")Map map);
}
